Open the Lossy Compression widget and play with it for a bit.
How is it similar to the compression widget we used last class? How is it different?
Open this new widget in Code Studio. This widget works with pictures instead of text. Click the Run button to start it.
Play with the widget a bit, then we’ll have some questions to answer.
Keep Code Studio open as you answer.
What do you notice about the quality of the image when you compress it?
What do you notice about the compressed file size?
Move to dot two. Try with your own picture. Find an image on the internet using Google Image search or something similar, but keep it school appropriate.
Use the New Image button to load the image you found. You’ll need the image’s URL, and not every image will work.
Play with the compression slider and see how much you can compress your image while keeping it recognizable. When you have it dialed in, share your screen with your partner and see if they can figure out what your picture shows.
We’re using this image for a particular purpose, and we need to decide how much lossy compression to use. More compression means a smaller file, but less detail.
No compression
Small amount of compression
Medium amount of compression
Large amount of compression
You are sending this as a text message to a friend, but you’ve almost run out of data for the month.
How much compression would you choose?
No compression
(original image)
Small
amount of compression
Medium
amount of compression
Large
amount of compression
You are a crime-scene photographer, and this image is part of the official crime-scene photo record.
How much compression would you choose?
No compression
(original image)
Small
amount of compression
Medium
amount of compression
Large
amount of compression
This image is part of a satellite imaging assignment for the military, used for intelligence gathering.
How much compression would you choose?
No compression
(original image)
Small
amount of compression
Medium
amount of compression
Large
amount of compression
You are a social media manager posting this to an Instagram story for an event happening right now.
How much compression would you choose?
No compression
(original image)
Small
amount of compression
Medium
amount of compression
Large
amount of compression
This image will be part of a collage where 100 copies are stitched together to make a larger image.
How much compression would you choose?
No compression
(original image)
Small
amount of compression
Medium
amount of compression
Large
amount of compression
You are a professional photographer submitting this to a design competition where judges will carefully evaluate color and composition.
How much compression would you choose?
No compression
(original image)
Small
amount of compression
Medium
amount of compression
Large
amount of compression
Lossy compression: a process for reducing the number of bits needed to represent something in which some information is lost or thrown away. This process is not reversible.
When is it a good idea to use lossless compression?
When should you use lossy compression?
What are the important factors in making that decision?